package com.swinw.asumall.member;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * 会员服务
 */
@SpringBootApplication
@EnableDiscoveryClient
@MapperScan("com.swinw.asumall.member.dao")
@EnableFeignClients(basePackages = "com.swinw.asumall.member.fiegn") //开启远程调用功能
public class AsumallMemberApplication {
    public static void main(String[] args) {
        SpringApplication.run(AsumallMemberApplication.class,args);
    }
}
